﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="saved-quotes.aspx.cs" Inherits="user_saved_quotes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpHeader" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpBody" runat="Server">
    <div id="container">
        <div class="body">
            <div class="top">
            </div>
            <div class="body">
                <div class="padding_lr15px">
                    <!-- Column Content | Start -->
                    <div class="col_content_full">
                        <div class="top">
                        </div>
                        <div class="body">
                            <div class="padding_lr30px">
                                <div style="width:40%; float:left"><h1>Saved Quotes</h1></div>
                                <div style="width:60%; float:right; text-align:right">
                                    <asp:ImageButton ID="ibtRunNewQuote" runat="server" ImageUrl="<%$Resources:ImageResource,RunQuotesUrl%>"
                                         AlternateText="New Quotes" ToolTip="New Quotes" 
                                        onclick="ibtRunNewQuote_Click" /></div>
                                <div class="clear"></div>
                                <div class="seperator_15px">
                                </div>
                                <div id="CarForm">
                                    <!-- Form | Start -->
                                    
                                    <asp:Label ID="lblResultHistoryMessage" runat="server" Text=""></asp:Label>
                                    <asp:DataList ID="dtlUserResult" DataKeyField="UserResultId" BorderColor="black"
                                        CellPadding="0" CellSpacing="0" RepeatDirection="Vertical" RepeatLayout="Table"
                                        RepeatColumns="1" OnItemDataBound="dtlUserResult_ItemDataBound" runat="server"
                                        OnItemCommand="dtlUserResult_ItemCommand">
                                        <AlternatingItemStyle></AlternatingItemStyle>
                                        <HeaderTemplate>
                                            <%--<strong>Name : </strong><%Session[CE.Global.General.UserName].ToString();%>--%>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <div class="quote_container">
                                                <h3 class="blue_bg">
                                                    <asp:Label ID="lblQuoteTitle" Text="" runat="server" /></h3>
                                                <asp:Panel ID="pnlQuote" runat="server">
                                                    <div class="quote_border">
                                                        <div class="quote_lbl2">
                                                            <div class="quote_l1">
                                                                <asp:Label runat="server" ID="lblInsuranceTypeTitle" Text="<%$Resources:CarInsurance,InsuranceType%>" />:
                                                            </div>
                                                            <div class="quote_l2">
                                                                <asp:Label ID="lblInsuranceType" Text="" runat="server" />
                                                            </div>
                                                            <div class="quote_l1">
                                                                <asp:Label runat="server" ID="lblGarageTypeTitle" Text="<%$Resources:CarInsurance,GarageType%>" />:
                                                            </div>
                                                            <div class="quote_l2">
                                                                <asp:Label ID="lblGarageType" Text="" runat="server" />
                                                            </div>
                                                            <div class="quote_l1">
                                                                <asp:Label runat="server" ID="lblVehicleTypeTitle" Text="<%$Resources:CarInsurance,VehicleType%>" />:
                                                            </div>
                                                            <div class="quote_l2">
                                                                <asp:Label ID="lblVehicleType" Text="" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="quote_lbl">
                                                            <p>
                                                                <%= GetGlobalResourceObject ("CarInsurance","Status") %>:</p>
                                                            <asp:Label ID="lblStatus" Text="" runat="server" />
                                                            <p>
                                                                <%= GetGlobalResourceObject ("CarInsurance","QuoteDate") %>:</p>
                                                            <asp:Label ID="lblCompleteDate" Text="" runat="server" />
                                                            <p>
                                                                <%= GetGlobalResourceObject ("CarInsurance","PolicyStartDate") %>:</p>
                                                            <asp:Label ID="lblPolicyStartDate" Text="" runat="server" />
                                                        </div>
                                                        <div class="filter_btn_" runat="server" id="divCompleteButton" visible="false">
                                                            <ul>
                                                                <li>
                                                                    <li>
                                                                        <asp:Button ID="ibtShowSavedQuote" runat="server" CssClass="button_viewcompletedetail"
                                                                            CommandName="ShowSavedQuote" /></li>
                                                                </li>
                                                            </ul>
                                                        </div>
                                                        <div class="filter_btn_" runat="server" id="divPartialButton">
                                                            <ul>
                                                                <li>
                                                                    <asp:Button ID="ibtShowResult" runat="server" CssClass="button_showresult" OnClientClick="this.className='button_w_processing'"
                                                                        CommandName="ShowResult" AlternateText="Quote Results" /></li>
                                                                <%--<asp:ImageButton Visible="false" ID="ibtEditDetail" runat="server" ImageUrl="~/images/buttons/edit_result_btn.gif"
                                CommandName="EditResult" />--%>
                                                                <li>
                                                                    <asp:Button ID="ibtDeleteResult" runat="server" CssClass="button_deleteresult" CommandName="DeleteResult"
                                                                        AlternateText="Delete Quote" /></li>
                                                            </ul>
                                                        </div>
                                                        <div class="filter_btn_" runat="server" id="divPartialButton2" visible="false">
                                                            <ul>
                                                                <li>
                                                                    <asp:Button ID="ibtRerunQuotes" runat="server" CssClass="button_rerunquote" OnClientClick="this.className='button_w_processing'"
                                                                        CommandName="ReRunQuotes" AlternateText="Re-Run Quote" /></li>
                                                                <li>
                                                                    <asp:Button ID="ibtDeleteResult2" runat="server" runat="server" CssClass="button_deleteresult"
                                                                        AlternateText="Delete Quote" /></li>
                                                            </ul>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="quoteprice">
                                                <asp:Label ID="lblResultValue" Text="" runat="server" />
                                            </div>
                                        </ItemTemplate>
                                    </asp:DataList>
                                    <!-- Form | End   -->
                                </div>
                            </div>
                        </div>
                        <div class="bottom">
                        </div>
                    </div>
                    <!-- Column Content | End   -->
                </div>
            </div>
            <div class="bottom">
            </div>
        </div>
    </div>
</asp:Content>
